﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        struct PersonStruct
        {
            public string name;
            public int dh;
            public string address;

            public void Asd() 
            {
                Console.WriteLine(this.name+" "+this.dh+" "+this.address+" ");
            }
            public void Asd(string name)
            {
                Console.WriteLine(this.name + " " + this.dh + " " + this.address + " ");
            }
        }
        static void Main(string[] args)
        {
            PersonStruct P1 = new PersonStruct();
            P1.name = "张三";
            P1.dh = 123456;
            P1.address = "好的";
            P1.Asd();

            PersonStruct P2 = P1;
            P2.name = "王五";
            P2.Asd();

            PersonStruct P3 = new PersonStruct();
            P3.name = "啊回复";
            P3.dh =123;
            P3.address = "卢卡斯";

            PersonStruct P4 = P3;
            P4.name="奥利弗";
            P3.Asd();
        }
    }
}
